package com.jiaozi.base.enums.sys.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * tag 央视
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TagEnumStyle {
    //Tag 的类型
    private TagTypeEnum type;
    //是否有边框描边
    private boolean hit;
    //背景色
    private String color;
    //Tag 的主题
    private TagEffectEnum effect;

    public TagEnumStyle(TagTypeEnum type) {
        this.type = type;
    }

    public TagEnumStyle(String color, TagEffectEnum effect) {
        this.color = color;
        this.effect = effect;
    }

    public TagEnumStyle(boolean hit, String color, TagEffectEnum effect) {
        this.hit = hit;
        this.color = color;
        this.effect = effect;
    }

    public enum TagTypeEnum {

        primary, success, info, warning, danger;
    }

    public enum TagEffectEnum {
        //暗黑
        dark,
        //白
        light,
        //扁平
        plain;
    }



}



